<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>问答系统首页</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="stylesheet" th:href="@{/res/layui/css/layui.css}">
		<link rel="stylesheet" th:href="@{/res/css/global.css}">
        <link rel="stylesheet" type="text/css" th:href="@{/assets/css/layui.css}"/>
        <link rel="stylesheet" type="text/css" th:href="@{/assets/css/view.css}"/>

		<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport"/>

		<link th:href="@{/load/tip/dist/dialog.css}" rel="stylesheet"></head>
	<script th:src="@{/load/tip/dist/mDialogMin.js}"></script>

	<style>
		*{margin: 0;padding: 0; font-family:"开心软件少儿简体","方正少儿简体","迷你简少儿","方正少儿_gbk",sans-serif}
		.mDialogs{display: inline-block;padding: 0 20px; text-decoration: none;outline: none; margin: 20px 10px; background: #222;color:#fff; line-height: 40px; text-align: center}
		.dialog_load2.c_alert_wrap{background: none;box-shadow: none}.dialog_load.c_alert_wrap{background: none;}.dialog_load .c_alert_con{background: rgba(0,0,0,.7);padding:24px 25px}.c_alert_con img{vertical-align: top}
	</style>





	<!--header-->
		<link rel="stylesheet" type="text/css" th:href="@{/home/styles/bootstrap4/bootstrap.min.css}">
		<link th:href="@{/home/plugins/font-awesome-4.7.0/css/font-awesome.min.css}" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css" th:href="@{/home/plugins/OwlCarousel2-2.2.1/owl.carousel.css}">
		<link rel="stylesheet" type="text/css" th:href="@{/home/plugins/OwlCarousel2-2.2.1/owl.theme.default.css}">
		<link rel="stylesheet" type="text/css" th:href="@{/home/plugins/OwlCarousel2-2.2.1/animate.css}">
		<link rel="stylesheet" type="text/css" th:href="@{/home/plugins/jquery.mb.YTPlayer-3.1.12/jquery.mb.YTPlayer.css}">
		<link rel="stylesheet" type="text/css" th:href="@{/home/styles/main_styles.css}">
		<link rel="stylesheet" type="text/css" th:href="@{/home/styles/responsive.css}">

		<!--load-->
		<link rel="stylesheet" th:href="@{/load/CSDN下载-IT资源大本营_files/content_toolbar.css}">
		<link rel="stylesheet" th:href="@{/load/CSDN下载-IT资源大本营_files/bootstrap.css}">
		<link rel="stylesheet" th:href="@{/load/CSDN下载-IT资源大本营_files/common.css}">
		<link href="https://csdnimg.cn/public/favicon.ico" rel="SHORTCUT ICON">
		<link th:href="@{/load/CSDN下载-IT资源大本营_files/quake.slider.css}" rel="stylesheet" type="text/css">
		<link rel="stylesheet" th:href="@{/load/CSDN下载-IT资源大本营_files/font-awesome.min.css}">
		<script th:src="@{/load/CSDN下载-IT资源大本营_files/libs.js.下载}" type="text/javascript"></script>
		<script th:src="@{/load/CSDN下载-IT资源大本营_files/sigleMin.js.下载}" type="text/javascript"></script>
		<link rel="stylesheet" th:href="@{/load/CSDN下载-IT资源大本营_files/download_index.css}">
		<link rel="canonical" href="http://download.csdn.net/">
		<link rel="stylesheet" type="text/css" th:href="@{/load/CSDN下载-IT资源大本营_files/goTop.min.css}"><script type="text/javascript" charset="utf-8" th:src="@{/load/CSDN下载-IT资源大本营_files/tracking-1.0.2.js.下载}"></script><script type="text/javascript" charset="utf-8" th:src="@{/load/CSDN下载-IT资源大本营_files/main-1.0.2.js.下载}"></script><script type="text/javascript" th:src="@{/load/CSDN下载-IT资源大本营_files/baidu_opensug-1.0.0.js.下载}"></script><script th:src="@{/load/CSDN下载-IT资源大本营_files/get_ads.php}" type="text/javascript"></script><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style><style type="text/css"></style></head>


	<script th:src="@{/res/layui/layui.js}"></script>
	</head>
	<body>
	<header class="header">
		<div class="container">
			<div class="row">
				<div class="col">
					<div class="header_content d-flex flex-row align-items-center justify-content-start">
						<div class="logo"><a th:href="@{/m}">EDU</a></div>
						<nav class="main_nav">
							<ul>
								<li class="active"><a th:href="@{/resourceByName}">下载首页</a></li>
								<li><a th:href="@{/upload}">上传赚C币</a></li>
								<li><a th:href="@{/upload}">无</a></li>
								<li><a th:href="@{/queryhomepage}">无</a></li>
								<li><a th:href="@{/queryhomepage}">无</a></li>
							</ul>
						</nav>
						<div class="search_container ml-auto">

							<form action="#">
								<input type="search" class="header_search_input" required="required" placeholder="Type to Search...">
								<img class="header_search_icon" th:src="@{/home/images/search.png}" alt="">
							</form>
							&nbsp;&nbsp;<a th:href="@{/login}">登录</a>&nbsp;|&nbsp;<a th:href="@{/register}">注册</a>						</div>
						<div class="hamburger ml-auto menu_mm">
							<i class="fa fa-bars trans_200 menu_mm" aria-hidden="true"></i>
						</div>
					</div>
				</div>
			</div>
		</div>
	</header>
	</div>
		<div class="main layui-clear">
			<div class="wrap">
				<div class="content" style="margin-right:0">
					<div class="download_l fl" id="detail_down_l">
						<div class="download_top" id="download_top" data-id="10758729">
							<div class="download_top_wrap clearfix">
								<div class="download_top_t">
									<dl class="download_dl">
										<dt><img th:src="@{/load/PopMusic-master-CSDN下载_files/unkonw.svg}" title="7z文件">
											<div class="star_box">
												<i class="fa fa-star yellow"></i>
												<em>0分</em>
											</div>
											<i class="user_grade"></i>
										</dt>
										<dd>
											<h3 title="PopMusic-master">
                                    <span>
                                        <p th:text="${resource.resourceName}">PopMusic-master</p>                                                                            </span>
											</h3>

											<div class="download_b">
												<span class="pre_description">音乐播放器源码</span>
											</div>

											<div class="dl_b">
												<label><a href="https://download.csdn.net/psearch/0/10/0/2/1/androi" class="tag"
														  target="_blank">androi</a> </label>
												<strong class="size_box">
													<span th:text="${#dates.format(resource.uploadTime, 'yyyy-MM-dd')}">2018-11-01                                            </span>上传<span>大小：<em>26.36MB</em></span>
												</strong>
											</div>
										</dd>
									</dl>
								</div>
							</div>
							<div data-id="10758729" data-username="sinat_33943657" class="dl_download dl_pdf clearfix">
								<div class="dl_download_box dl_download_l">
									<label>所需:
										<em>5</em>积分/C币
									</label>
									<a  th:href="@{/download(attachment=${resource.attachment})}" class="direct_download" target="_self" data-bind-login="true">立即下载</a>
								</div>
								<div class="dl_download_box_r fr">
									<!--分享功能-->
									<div class="csdn_share_btn dl_func" id="csdn-share-btn">分享</div>
									<script th:src="@{/load/PopMusic-master-CSDN下载_files/qrcode.min.js.下载}" type="text/javascript"></script>
									<script th:src="@{/load/PopMusic-master-CSDN下载_files/share.js(1).下载}" type="text/javascript"></script>
									<link rel="stylesheet" th:href="@{/load/PopMusic-master-CSDN下载_files/share.css}">
									<script>
                                        $(function () {
                                            csdn.share.show({
                                                shareBtn: $("#csdn-share-btn"),
                                                directPop: "pop-bottom",
                                            });

                                        });

									</script>
									<!--收藏功能-->
									<a href="javascript:;" id="favorite" class="dl_func">
										<i class="fa fa-star-o"></i>
										<span>收藏</span>
										<em></em>
									</a>
									<!--举报功能-->
									<a id="mdialog4" href="javascript:;" class="dl_func">
										<i class="fa fa-exclamation-triangle"></i>
										<span><font color="red">举报</font></span></a>
									<script type="text/javascript">
                                        mdialog4.onclick = function(){
                                            Dialog.init('<input type="text" placeholder="请输入5个字符"  style="margin:8px 0;width:100%;padding:11px 8px;font-size:15px; border:1px solid #999;"/>',{
                                                title : '举报',
                                                button : {
                                                    确定 : function(){
                                                        if(this.querySelector('input').value.length >= 5){
                                                            Dialog.init('你举报的内容是：'+this.querySelector('input').value);
                                                            Dialog.close(this);
                                                        }else{
                                                            Dialog.init('你输入的内容不符合要求！',1100);
                                                        };
                                                    },
                                                    关闭 : function(){
                                                        Dialog.init('你点击了关闭',1000);
                                                        Dialog.close(this);
                                                    }
                                                }
                                            });
                                        }
									</script>
									<div id="loginmodal" style="display:none;">
										<h1>User Login</h1>
										<form id="loginform" name="loginform" method="post" action="index.html">
											<label for="username">Username:</label>
											<input type="text" name="username" id="username" class="txtfield" tabindex="1" />

											<label for="password">Password:</label>
											<input type="password" name="password" id="password" class="txtfield" tabindex="2" />

											<div class="center"><input type="submit" name="loginbtn" id="loginbtn" class="flatbtn-blu hidemodal" value="Log In" tabindex="3"></div>
										</form>
									</div>
							</div>
							</div>
						</div>
				</div>
			</div>
		</div>
		</div>
		</div>
				</div>
			</div>
		</div>
	</body>
</html>